package com.biaobiaoqi.scoreanalysis.service;

import java.util.Date;
import java.util.List;

import com.biaobiaoqi.scoreanalysis.exception.DuplicateExaminationException;
import com.biaobiaoqi.scoreanalysis.hibernate.bean.Examination;
import com.biaobiaoqi.scoreanalysis.util.SchoolType;

public interface IExaminationService {

	public void addExamination(String name, Date date, int schoolYearId, int clazzTypeId, SchoolType schoolType)
			throws DuplicateExaminationException;

//	public void addExamination(String name, Date date, int schoolYearId)
//			throws DuplicateExaminationException;

	public List<Examination> ListAllExamination(int start, int number);

	public List<Examination> ListAllExamination();

	public void deleteExamination(int examId);
	
	public Examination findExamination(int examId);
	
//	public Examination findExamination(String name, Date date, int school   );
}
